package com.github.demo;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author tiny
 * @date 2018/10/26 10:17
 */
@FeignClient(name = "resource-service")
public interface FeignConsumer {

    @RequestMapping("/test")
     String testAuthentication();
}
